﻿<Window x:Class="TFSChangeLog.View.ProgressDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterOwner"
        Title="TFS ChangeLog is working..."  
        ShowInTaskbar="False" 
        ResizeMode="NoResize" 
        Height="150" Width="300" WindowStyle="SingleBorderWindow" Closing="OnWindowClosing"
        >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="37" />
            <RowDefinition Height="32" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <TextBlock Text="{Binding Path=ProgressMessage, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Grid.Row="0" HorizontalAlignment="Center"  Margin="0,13,0,5"/>
        <ProgressBar IsIndeterminate="True"  Grid.Row="1" Margin="20,5,20,0" Height="22" VerticalAlignment="Top"  DataContext="{Binding}" ClipToBounds="False"/>
        <Button Content="Cancel" Command="{Binding Path=Cancel}" Grid.Row="2" Width="75" HorizontalAlignment="Center" Margin="0,5,0,12" />
    </Grid>
</Window>
